//
//  RecordViewCollectionViewCell.m
//  JiJinFinance
//
//  Created by 李东晓 on 15/12/7.
//  Copyright © 2015年 LiDongXiao. All rights reserved.
//

#import "RecordViewCollectionViewCell.h"

@implementation RecordViewCollectionViewCell
-(id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _LabelTitle = [[UILabel alloc]initWithFrame:CGRectMake(17*D_width, 14*D_height, 100*D_width, 15*D_height)];
        [_LabelTitle setText:@"爱车贷"];
        [_LabelTitle setFont:[UIFont systemFontOfSize:15*D_height]];
        [_LabelTitle setTextColor:[UIColor blackColor]];
        [self addSubview:_LabelTitle];
        _LabelTZJE = [[UILabel alloc]initWithFrame:CGRectMake(17*D_width, 43*D_height, 70*D_width, 13*D_height)];
        [_LabelTZJE setTextColor:RGBAColor(70, 70, 70, 1)];
        [_LabelTZJE setText:@"投资金额 :"];
        [_LabelTZJE setFont:[UIFont systemFontOfSize:13*D_height]];
        [self addSubview:_LabelTZJE];
        _LabelTZJEnum = [[UILabel alloc]initWithFrame:CGRectMake(80*D_width, 43*D_height, 70*D_width, 13*D_height)];
        [_LabelTZJEnum setText:@"10000元"];
        [_LabelTZJEnum setTextColor:RGBAColor(70, 70, 70, 1)];
        [_LabelTZJEnum setFont:[UIFont systemFontOfSize:13*D_height]];
        [self addSubview:_LabelTZJEnum];
        _LabelTZZQ = [[UILabel alloc]initWithFrame:CGRectMake(17*D_width, 65*D_height, 70*D_width, 13*D_height)];
        [_LabelTZZQ setFont:[UIFont systemFontOfSize:13*D_height]];
        [_LabelTZZQ setTextColor:RGBAColor(70, 70, 70, 1)];
        [_LabelTZZQ setText:@"投资周期 :"];
        [self addSubview:_LabelTZZQ];
        _LabelTZZQnum = [[UILabel alloc]initWithFrame:CGRectMake(80*D_width, 65*D_height, 70*D_width, 13*D_height)];
        [_LabelTZZQnum setText:@"100天"];
        [_LabelTZZQnum setTextColor:RGBAColor(70, 70, 70, 1)];
        [_LabelTZZQnum setFont:[UIFont systemFontOfSize:13*D_height]];
        [self addSubview:_LabelTZZQnum];
        _LabelYFBX = [[UILabel alloc]initWithFrame:CGRectMake(17*D_width, 87*D_height, 70*D_width, 13*D_height)];
        [_LabelYFBX setFont:[UIFont systemFontOfSize:13*D_height]];
        [_LabelYFBX setTextColor:RGBAColor(70, 70, 70, 1)];
        [_LabelYFBX setText:@"已付本息 :"];
        [self addSubview:_LabelYFBX];
        _LabelYFBXnum= [[UILabel alloc]initWithFrame:CGRectMake(80*D_width, 87*D_height, 70*D_width, 13*D_height)];
        [_LabelYFBXnum setText:@"5100元"];
        [_LabelYFBXnum setFont:[UIFont systemFontOfSize:13*D_height]];
        [_LabelYFBXnum setTextColor:RGBAColor(70, 70, 70, 1)];
        [self addSubview:_LabelYFBXnum];
        
        _LabelNHSY = [[UILabel alloc]initWithFrame:CGRectMake(170*D_width, 43*D_height, 80*D_width, 13*D_height)];
        [_LabelNHSY setText:@"年化收益率 :"];
        [_LabelNHSY setTextColor:RGBAColor(70, 70, 70, 1)];
        [_LabelNHSY setFont:[UIFont systemFontOfSize:13*D_height]];
        [self addSubview:_LabelNHSY];
        _LabelNHSYnum = [[UILabel alloc]initWithFrame:CGRectMake(247*D_width, 43*D_height, 70*D_width, 13*D_height)];
        [_LabelNHSYnum setTextColor:RGBAColor(70, 70, 70, 1)];
        [_LabelNHSYnum setFont:[UIFont systemFontOfSize:13*D_height]];
        [_LabelNHSYnum setText:@"10.8％"];
        [self addSubview:_LabelNHSYnum];
        _LabelDQSJ = [[UILabel alloc]initWithFrame:CGRectMake(170*D_width, 65*D_height, 80*D_width, 13*D_height)];
        [_LabelDQSJ setTextColor:RGBAColor(70, 70, 70, 1)];
        [_LabelDQSJ setFont:[UIFont systemFontOfSize:13*D_height]];
        [_LabelDQSJ setText:@"到期时间 :"];
        [self addSubview:_LabelDQSJ];
        _LabelDQSJnum = [[UILabel alloc]initWithFrame:CGRectMake(235*D_width, 65*D_height, 80*D_width, 13*D_height)];
        [_LabelDQSJnum setTextColor:RGBAColor(70, 70, 70, 1)];
        [_LabelDQSJnum setText:@"20150810"];
        [_LabelDQSJnum setFont:[UIFont systemFontOfSize:13*D_height]];
        [self addSubview:_LabelDQSJnum];
        _LabelWFBX = [[UILabel alloc]initWithFrame:CGRectMake(170*D_width, 87*D_height, 70*D_width, 13*D_height)];
        [_LabelWFBX setTextColor:RGBAColor(70, 70, 70, 1)];
        [_LabelWFBX setFont:[UIFont systemFontOfSize:13*D_height]];
        [_LabelWFBX setText:@"未付本息 :"];
        [self addSubview:_LabelWFBX];
        _LabelWFBXnum = [[UILabel alloc]initWithFrame:CGRectMake(235*D_width, 87*D_height, 80*D_width, 13*D_height)];
        [_LabelWFBXnum setTextColor:RGBAColor(70, 70, 70, 1)];
        [_LabelWFBXnum setText:@"2000元"];
        [_LabelWFBXnum setFont:[UIFont systemFontOfSize:13*D_height]];
        [self addSubview:_LabelWFBXnum];
        
    }
    return self;
}
@end
